package com.gx.smart.construction.ui.house;

import android.text.TextUtils;

/**
 * @author: xiaosy
 * 时间: 2022/1/21
 * @Description: java类作用描述
 * @Version: 1.0
 **/
public class StringUtil {
    //开始位置省略
    public static String startEllipsis(String content){
        if (!TextUtils.isEmpty(content)) {
            int begin = content.length() - 7;
            int end = content.length() - 1;
            return  "******" + content.substring(begin, end);
        }
        return "";
    }
}
